            <table class="kunTable">
                <thead>
                    <tr>
                        <th width="20">{{ helper:lang line="global:identifier" }}</th>
                        <th>Sự kiện</th>
                        <th>Ngày</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
				<?php foreach($model as $item){?>
                    <tr>
                        <td>{{ helper:count identifier }}</td>
                        <td><?php echo $item->title ?></td>
						
                        <td>{{ helper:date format='d-m-Y' timestamp = '<?php echo $item->value ?>' }}</td>
                         <td class="actions">
							<?php if ($item->delete == 1) { ?>
							{{button:href: class="edit" title={helper:lang line="global:edit"} data-toggle="tooltip" 
                    		href={url:site uri="admin/erp/dayoff/edit/<?php echo $item->id ?>"} }}
                    {{button:href: class="del" title={ helper:lang line="global:delete"} data-toggle="tooltip" 
                    		href={url:site uri="admin/erp/dayoff/delete/<?php echo $item->id ?>"} }}
							<?php } ?>
                        </td>
                    </tr>
				<?php } ?>
                </tbody>
            </table>